package com.fa4j.product.comment.repository;

import com.fa4j.common.data.repository.BaseRepository;
import com.fa4j.product.comment.model.Comment;

import java.util.Optional;

/**
 * 持久化接口-商品评论
 *
 * @since 2025-11-22 21:06:24
 */
public interface CommentRepository extends BaseRepository<Comment> {

    Optional<Comment> countByOrderIdAndSpecId(Long orderId, Integer specId);
}


